package cn.ryh.designpatterndemo.factorypattern.manyFactory;

import cn.ryh.designpatterndemo.factorypattern.entity.BlackHuman;
import cn.ryh.designpatterndemo.factorypattern.entity.IHuman;

/**
 * @ClassName BlackHumanFactory
 * @Description 黑人工厂
 * @Author RaoYH
 * @Date 2019/4/22
 */
public class BlackHumanFactory extends AbstractHumanFactory {

    @Override
    public IHuman createHuman() {
        return new BlackHuman();
    }
}
